package org.zxw.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.zxw.pojo.entity.User;

@Mapper
public interface UserMapper {
    @Select("select * from user where name = #{username} and password = #{password}")
    User selectByUsernameAndPassword(String username, String password);
}
